#!/bin/sh
#
# remote_debug.sh <Display> <DebuggerCommand>
#

#Setting Display for debugging of X-Applications
DISPLAY=$1:0.0
export DISPLAY
shift
echo Set Display to $DISPLAY

#Ececute Other Parameters (Debugger Command)
#use eval to ensure correct argument passing (quoting)
eval $*
